import { Component, OnInit } from '@angular/core';
import {Globals} from '../../globals';

@Component({
  selector: 'app-brand-manage',
  templateUrl: './brand-manage.component.html',
  styleUrls: ['./brand-manage.component.less']
})
export class BrandManageComponent implements OnInit {
  isMobile = Globals.isMobile();
  // 显示模态框
  isVisible = false;
  constructor() { }

  ngOnInit(): void {
  }
  editShow(data) {
    this.isVisible = true;
  }
  // 子组件向父组件传值
  setVisible(body) {
    this.isVisible = body.isVisible;
  }
}
